package com.ocom.common.entity.payconfig;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName(value = "xf_merch_money_day")
public class EntityXfMerchMoneyDay {
    /**
     * 自增id，主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 单位编号
     */
    @TableField(value = "com_id")

    private Integer comId;

    /**
     * 商户名称
     */
    @TableField(value = "merch_name")
    private String merchName;

    /**
     * 商户号（转入）
     */
    @TableField(value = "merch_no")
    private String merchNo;

    /**
     * 汇总统计日期
     */
    @TableField(value = "pay_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date payDate;

    /**
     * 汇总消费金额
     */
    @TableField(value = "pay_amount")
    private Integer payAmount;

    /**
     * 管理费金额
     */
    @TableField(value = "manage_amount")
    private Integer manageAmount;

    /**
     * 本期应收
     */
    @TableField(value = "now_received")
    private Integer nowReceived;

    /**
     * 本期实收
     */
    @TableField(value = "now_receipts")
    private Integer nowReceipts;

    /**
     * 转账状态：0未转账、1转账成功，2转账失败，3欠费转移
     */
    @TableField(value = "pay_state")
    private Byte payState;

    /**
     * 银行交易流水号
     */
    @TableField(value = "trace_no")
    private String traceNo;

    /**
     * 转账信息
     */
    @TableField(value = "ret_msg")
    private String retMsg;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 转出商户号
     */
    @TableField(value = "merch_no_out")
    private String merchNoOut;

    /**
     * 平台转出流水号
     */
    @TableField(value = "trace_no_out")
    private String traceNoOut;

    /**
     * 补缴日期
     */
    @TableField(value = "repair_pay_date")
    private String repairPayDate;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 转账时间
     */
    @TableField(value = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
}